package com.weipeep.sys.service;

import com.weipeep.sys.domain.BaoJiaDO;
import com.weipeep.common.base.CoreService;
import com.weipeep.sys.vo.BaojiaVo;
import com.weipeep.sys.vo.ReceiveBaojiaQuery;

import java.util.List;

/**
 * 
 * <pre>
 * 
 * </pre>
 * <small> 2018-04-21 00:42:43 | wangyun</small>
 */
public interface BaoJiaService extends CoreService<BaoJiaDO> {

    boolean baojia(BaoJiaDO baoJia);

    List<BaojiaVo> receiveBaojia(ReceiveBaojiaQuery query);

    int receiveBaojiaCount(ReceiveBaojiaQuery query);
    List<BaojiaVo> myBaojia(ReceiveBaojiaQuery query);
    int myBaojiaCount(ReceiveBaojiaQuery query);
}
